package id.net.iconpln.bb.server.service.impl;

import id.net.iconpln.bb.server.dao.GudangDao;
import id.net.iconpln.bb.server.dao.OperatorDao;
import id.net.iconpln.bb.server.service.GudangService;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly=true)
public class GudangServiceImpl implements GudangService{

	@Autowired private GudangDao gudangDao;
	@Autowired private OperatorDao operatorDao;
	
	@Override
	public List<Map> insertGudangBB(String kode, Map map) {
		// TODO Auto-generated method stub
		return gudangDao.insertGudangBB(kode, map);
	}

	@Override
	public List<Map> getListPemakaian(String kode, Map map) {
		// TODO Auto-generated method stub
		return gudangDao.getListPemakaian(kode, map);
	}

	@Override
	public List<Map> insertOperatorBB(String kode, Map map) {
		// TODO Auto-generated method stub
		return operatorDao.insertOperatorBB(kode, map);
	}

	@Override
	public List<Map> getListProduksi(String kode, Map map) {
		// TODO Auto-generated method stub
		return operatorDao.getListProduksi(kode, map);
	}

}
